← Back to issue list

when a validation already exists, the error message is not nice and is displayed after entering the password

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1636981
Type
issue
State
open
Author
~elopio
Labels
store
Created
2016-10-26 20:06:11.277120+00:00
Updated
2021-01-20 14:50:23.465528+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I tried to create the same validation twice. The second time it fails displaying an error; but this error is shown after I entered my password. I think the error should be shown before signing the validation. $ snapcraft validate u1test20161026 ubuntu-core=3 Getting details for ubuntu-core Signing validation ubuntu-core=3 You need a passphrase to unlock the secret key for user: "default" 4096-bit RSA key, ID D017FEB3, created 2016-01-01 Received error 409: 'There is already a validation assertion stored for snap-id y8gqFXGKAfN5NoZtNRZHqWhB1C4jt3Gi in this context.' In addition to that, the error is not for humans. It shows the error code, the snap-id, and it's not nicely formatted.

Evaluation history

No evaluation history available.